<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <form action="">

        <!-- number 数字 -->
        <input type="number">

        <!-- 输入内容之后可以清除内容 -->
        <input type="search">


        <!-- range滑块 -->
        <input type="range">

        <!-- 日期 -->
        <input type="date">


        <!-- 检测邮箱  --- 必须包含@ -->
        <input type="email">

        <!-- 网址检测  http -->
        <input type="url">

        <!-- <input type="submit"> -->

        <button type="submit">提交</button>



        <!-- input上添加list这个属性，值与datalist的id进行关联 -->
        <input type="text" list="a">
        <datalist id="a">
            <option value="a1">
            <option value="a2">
            <option value="b1">
            <option value="aa">
        </datalist>


    </form>
</body>

</html>